<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

<a href="<c:url value='/' />">Home</a>
<sec:authorize access="hasAnyRole('ROLE_ADMIN','ROLE_USER')">
	| <a href="<c:url value='/upload' />">Upload</a>
</sec:authorize>
<sec:authorize access="hasAnyRole('ROLE_ADMIN')">
	| <a href="<c:url value='/aircraft' />">Aircraft</a>
</sec:authorize>
<sec:authorize access="hasAnyRole('ROLE_ADMIN')">
	| <a href="<c:url value='/airport' />">Airport</a>
</sec:authorize>
<sec:authorize access="hasAnyRole('ROLE_ADMIN')">
	| <a href="<c:url value='/views' />">Views</a>
</sec:authorize>
<sec:authorize access="hasAnyRole('ROLE_ADMIN')">
	| <a href="<c:url value='/api/aircraft/log' />">API Aircraft Log</a>
</sec:authorize>